package com.acme.bankapp.domain.bank;


public class Client {

	private String fio;
	private Gender gender;
	public SavingAccount sacc;
	public CheckingAccount chacc;

	public Client() {

	}


	public String getClientSalutation() {
		String tmp = "";

		switch(this.gender) {
			case Male:
			tmp = "Mr. " + this.fio;
			break;
			case Female:
			tmp = "Ms. " + this.fio;
			break;
		}
		return tmp;
	}



	public Client(String fio, Gender gender) {

		this.fio = fio;
		this.gender = gender;
		
	}

}